export const defaultRoutes = [
  {
    path: '/index',
    name: 'Home',
    component: () => import(/* webpackChunkName: "index" */ '@views/Home.vue'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/about',
    name: 'About',
    meta: {
      requireAuth: true,
    },
    component: () => import(/* webpackChunkName: "about" */ '@views/About.vue'),
  },
  {
    path: '/empty',
    name: 'Empty',
    meta: {
      requireAuth: true,
    },
    component: () => import(/* webpackChunkName: "empty" */ '@views/Empty.vue'),
  },

  // 海外增加一个不接受的路由
  {
    path: '/acceptSharing',
    name: 'AcceptSharing',
    meta: {
      requireAuth: false,
      title: 'Ruijie Cloud',
    },
    component: () => import('@views/acceptSharing/userManagement/index.vue'),
  },

  // 私有云的登录路由
  {
    path: '/login',
    name: 'Login',
    meta: {
      requireAuth: false,
      title: 'Ruijie Cloud',
    },
    component: () => import('@views/login/index.vue'),
  }
];
